package com.wanxi.springboot.service;

import com.wanxi.springboot.entity.LoginParams;
import com.wanxi.springboot.entity.Permission;
import com.wanxi.springboot.entity.WxUser;

import java.util.List;

public interface WxUserService {

    WxUser getUserByName(String name);

    List<Permission> getPermissionsByUserId(Integer id);
    String login(LoginParams loginPrams);
}
